package com.jekun.helloworld.designmode.cor;

/**
 * @author Administrator
 */
public abstract class Handler {
    protected Handler successor;

    public void setSuccessor(Handler successor) {
        this.successor = successor;
    }

    public abstract void handleRequest(String request);
}
